package com.dianning.web.action.eatandplay;

import java.util.List;
import org.apache.commons.logging.*;

import com.dianning.service.ParameterService;
import com.dianning.web.action.BaseAction;

public class Index extends BaseAction{

	private static final Log logger = LogFactory.getLog(Index.class);
	
	private ParameterService parameterService;
	
	public ParameterService getParameterService() {
		return parameterService;
	}

	public void setParameterService(ParameterService parameterService) {
		this.parameterService = parameterService;
	}
	
	private List eatCanyin;
	private List eatDrinks;
	private List eatFood;
	private List eatGift;
	private List eatHealth;
	private List playHuodong;
	private List eatImport;
	private List playJingdian;
	private List playJiudian;
	private List eatMarket;
	private List eatNutritious;
	private List eatSnacks;
	private List eatTea;
	private List shopTuangou;
	private List playYule;
	private List playZhoubianyou;
	private List eatTuchan;
	private List eatRiyongpin;
	private List playGuoneiyou;
	private List playGuojiyou;


	public List getEatCanyin() {
		return eatCanyin;
	}

	public void setEatCanyin(List eatCanyin) {
		this.eatCanyin = eatCanyin;
	}

	public List getEatDrinks() {
		return eatDrinks;
	}

	public void setEatDrinks(List eatDrinks) {
		this.eatDrinks = eatDrinks;
	}

	public List getEatFood() {
		return eatFood;
	}

	public void setEatFood(List eatFood) {
		this.eatFood = eatFood;
	}

	public List getEatGift() {
		return eatGift;
	}

	public void setEatGift(List eatGift) {
		this.eatGift = eatGift;
	}

	public List getEatHealth() {
		return eatHealth;
	}

	public void setEatHealth(List eatHealth) {
		this.eatHealth = eatHealth;
	}

	public List getPlayHuodong() {
		return playHuodong;
	}

	public void setPlayHuodong(List playHuodong) {
		this.playHuodong = playHuodong;
	}

	public List getEatImport() {
		return eatImport;
	}

	public void setEatImport(List eatImport) {
		this.eatImport = eatImport;
	}

	public List getPlayJingdian() {
		return playJingdian;
	}

	public void setPlayJingdian(List playJingdian) {
		this.playJingdian = playJingdian;
	}

	public List getPlayJiudian() {
		return playJiudian;
	}

	public void setPlayJiudian(List playJiudian) {
		this.playJiudian = playJiudian;
	}

	public List getEatMarket() {
		return eatMarket;
	}

	public void setEatMarket(List eatMarket) {
		this.eatMarket = eatMarket;
	}

	public List getEatNutritious() {
		return eatNutritious;
	}

	public void setEatNutritious(List eatNutritious) {
		this.eatNutritious = eatNutritious;
	}

	public List getEatSnacks() {
		return eatSnacks;
	}

	public void setEatSnacks(List eatSnacks) {
		this.eatSnacks = eatSnacks;
	}

	public List getEatTea() {
		return eatTea;
	}

	public void setEatTea(List eatTea) {
		this.eatTea = eatTea;
	}

	public List getShopTuangou() {
		return shopTuangou;
	}

	public void setShopTuangou(List shopTuangou) {
		this.shopTuangou = shopTuangou;
	}

	public List getPlayYule() {
		return playYule;
	}

	public void setPlayYule(List playYule) {
		this.playYule = playYule;
	}

	public List getPlayZhoubianyou() {
		return playZhoubianyou;
	}

	public void setPlayZhoubianyou(List playZhoubianyou) {
		this.playZhoubianyou = playZhoubianyou;
	}

	public List getEatTuchan() {
		return eatTuchan;
	}

	public void setEatTuchan(List eatTuchan) {
		this.eatTuchan = eatTuchan;
	}

	public List getEatRiyongpin() {
		return eatRiyongpin;
	}

	public void setEatRiyongpin(List eatRiyongpin) {
		this.eatRiyongpin = eatRiyongpin;
	}

	public List getPlayGuoneiyou() {
		return playGuoneiyou;
	}

	public void setPlayGuoneiyou(List playGuoneiyou) {
		this.playGuoneiyou = playGuoneiyou;
	}

	public List getPlayGuojiyou() {
		return playGuojiyou;
	}

	public void setPlayGuojiyou(List playGuojiyou) {
		this.playGuojiyou = playGuojiyou;
	}

	public String execute() {
		this.setEatCanyin(this.getParameterService().findParameters("eatCanyinType", 2, null,"orders", 0));
		this.setEatDrinks(this.getParameterService().findParameters("eatDrinksType", 2, null,"orders", 0));
		this.setEatFood(this.getParameterService().findParameters("eatFoodType", 2, null,"orders", 0));
		this.setEatGift(this.getParameterService().findParameters("eatGiftType", 2, null,"orders", 0));
		this.setEatHealth(this.getParameterService().findParameters("eatHealthType", 2, null,"orders", 0));
		this.setPlayHuodong(this.getParameterService().findParameters("playHuodongType", 2, null,"orders", 0));
		this.setEatImport(this.getParameterService().findParameters("eatImportType", 2, null,"orders", 0));
		this.setPlayJingdian(this.getParameterService().findParameters("playJingdianType", 2, null,"orders", 0));
		this.setPlayJiudian(this.getParameterService().findParameters("playJiudianType", 2, null,"orders", 0));
		this.setEatMarket(this.getParameterService().findParameters("eatMarketType", 2, null,"orders", 0));
		this.setEatNutritious(this.getParameterService().findParameters("eatNutritiousType", 2, null,"orders", 0));
		this.setEatSnacks(this.getParameterService().findParameters("eatSnacksType", 2, null,"orders", 0));
		this.setEatTea(this.getParameterService().findParameters("eatTeaType", 2, null,"orders", 0));
		this.setShopTuangou(this.getParameterService().findParameters("shopTuangouType", 2, null,"orders", 0));
		this.setPlayYule(this.getParameterService().findParameters("playYuleType", 2, null,"orders", 0));
		this.setPlayZhoubianyou(this.getParameterService().findParameters("playZhoubianyouType", 2, null,"orders", 0));
		this.setEatTuchan(this.getParameterService().findParameters("eatTuchanType", 2, null,"orders", 0));
		this.setEatRiyongpin(this.getParameterService().findParameters("eatRiyongpinType", 2, null,"orders", 0));
		this.setPlayGuoneiyou(this.getParameterService().findParameters("playGuoneiyouType", 2, null,"orders", 0));
		this.setPlayGuojiyou(this.getParameterService().findParameters("playGuojiyouType", 2, null,"orders", 0));
		return SUCCESS;
	}
}
